import request from '../utils/request'

// 获取公众号二维码
export const getQrcode = () => {
  return request('/api/wechat/qrcode', {
    method: 'GET',
  })
}

// 检查登录状态
export const checkLoginStatus = (ticket: string) => {
  return request(`/api/wechat/check_login_status?ticket=${ticket}`, {
    method: 'GET',
  })
}
